<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script type="text/javascript" src="../../../script/util.js"></script>
<script type="text/javascript">

/*
function doAdd() {
    top.$.post("/easyframe/system/dict_create.action", top.$(editForm).serialize(), doAddOnRetrun); 
}

function doAddOnRetrun(xml) {
    doList();
    
    $('#dialogEdit').dialog("close");
}*/

function getDict() {
    var params = {isSearch:true, onReturn:getDictOnReturn} ;
    
    openWindow("dictList", "查找Dict", "/easyframe/html/system/dict/list.html", params, null, 910, 760) ;
}

function getDictOnReturn(retValue) {
    e_('dict.domain_').value = retValue ;
}
</script>
</head>
<body>
    <div id="dialogEdit" title="添加" style="display: ">
      <form action="" method="post" name="editForm" id="editForm">
          <input type="hidden" name="dict.dict_id"/>
          <table>
              <tr><td>domain_:</td></tr>
              <tr><td><input type="text" name="dict.domain_"/><input type="button" value="getDict" onclick="getDict()" /></td></tr>
              <tr><td>code:</td></tr>
              <tr><td><input type="text" name="dict.code_"/></td></tr>
              <tr><td>name:</td></tr>
              <tr><td><input type="text" name="dict.name_"/></td></tr>
          </table>
      </form>
    </div>
</body>
</html>